home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / blf082b / makefile.lnx < prev    next >
Makefile  |  1993-12-01  |  943b  |  48 lines

  1. #
  2. #    BloufGate: A Free Fidonet/Usenet Gateway - Public domain
  3. #
  4. #    Make file for UNIX, tested with Linux, GCC, and GNU libraries
  5. #    make        build binaries
  6. #    make install    copy binaries to BINDIR
  7. #
  8. #    WARNING: STANDARD DISTRIBUTION SOURCES HAVE crlf, PLEASE CONVERT to lf
  9. #    tested a while ago, may require some update
  10. #    
  11. CC=gcc
  12. CFLAGS=-O -DUNIX
  13. OBJS=blouf nlist
  14. BINDIR=/home/fido/bin
  15. TARGETS=ufg.o fug.o config.o misc.o address.o pkt.o global.o main.o    killdupe.o
  16. COMPATARGETS=strlwr.o # add if you don't have them: strlwr.o
  17.  
  18. all: $(OBJS)
  19.  
  20. blouf: $(TARGETS) $(COMPATARGETS) blouf.h
  21.     $(CC) -o blouf $(TARGETS) $(COMPATARGETS)
  22.  
  23. nlist: nlist.o
  24.     $(CC) -o nlist nlist.o
  25.  
  26. install: all
  27.     strip blouf nlist
  28.     mv blouf nlist $(BINDIR)
  29.  
  30. clean:
  31.     rm -f *.o $(OBJS)
  32.  
  33. # dependencies
  34. address.o: blouf.h
  35. config.o: blouf.h
  36. fug.o: blouf.h
  37. global.o: blouf.h
  38. main.o: blouf.h
  39. misc.o: blouf.h
  40. pkt.o: blouf.h
  41. ufg.o: blouf.h
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.